package com.tianji.learning.constants;

/**
 * @author Covey
 */
public interface RedisConstants {

    Long REDIS_EXPIRE_TIME_MINUTES = 30L;
    Long REDIS_EXPIRE_TIME_DAYS = 30L;
    Long REDIS_EXPIRE_TIME_HOURS = 3L;

    /**
     * 签到记录的key的前缀：sign:uid:110:202501
     */
    String SIGN_RECORD_KEY_PREFIX = "sign:uid";

    /**
     * 积分排行榜的key的前缀：boards:202501
     */
    String POINTS_BOARD_KEY_PREFIX = "boards";

    String HISTORY_POINTS_BOARD_PREFIX = "history:boards";
}
